home *** CD-ROM | disk | FTP | other *** search
/ Aminet 13 / Aminet 13 - August 1996.iso / MainActor / LoadMPEG / mpeg / mpeg.man < prev    next >
Text File  |  1993-09-04  |  13KB  |  331 lines

  1.  
  2.  
  3.  
  4. MPEG(1)                                                   MPEG(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        mpeg - MPEG compression and decompression
  9.  
  10. SSYYNNOOPPSSIISS
  11.        mmppeegg [[--dd]] [[--NNTTSSCC]] [[--CCIIFF]] [[--QQCCIIFF]] [[--PPFF]] [[--NNPPSS]] [[--MMBBPPSS mmbbppss]]
  12.        [[--UUTTCC]]
  13.             [[--XXIINNGG]] [[--DDMMVVBB]] [[--MMVVNNTT]]
  14.             [[--aa SSttaarrttNNuummbbeerr]] [[--bb EEnnddNNuummbbeerr]]
  15.             [[--hh HHoorriizzoonnttaallSSiizzee]] [[--vv VVeerrttiiccaallSSiizzee]]
  16.             [[--ff FFrraammeeIInntteerrvvaall]] [[--gg GGrroouuppIInntteerrvvaall]]
  17.             [[--44]] [[--cc]] [[--ii MMCCSSeeaarrcchhLLiimmiitt]] [[--oo]] [[--pp PPiiccttuurreeRRaattee]]
  18.             [[--qq QQuuaannttiizzaattiioonn]] [[--rr TTaarrggeett RRaattee]]
  19.             [[--ss SSttrreeaammFFiillee]]  [[--xx TTaarrggeett FFiilleessiizzee]] [[--yy]]
  20.             [[--zz CCoommppoonneennttFFiilleeSSuuffffiixx ii]]
  21.             CCoommppoonneennttFFiilleePPrreeffiixx11 [[CCoommppoonneennttFFiilleePPrreeffiixx22 CCoommppoonneenntt--
  22.        FFiilleePPrreeffiixx33]]
  23.  
  24. DDEESSCCRRIIPPTTIIOONN
  25.        _m_p_e_g    is    a   multimedia   image   sequence   compres-
  26.        sion/decompression program that performs MPEG encoding and
  27.        decoding.
  28.  
  29.  
  30. OOPPTTIIOONNSS
  31.        --NNTTSSCC  indicates  that the source frame size for the Lumi-
  32.               nance component is 352x240 and for the  Chrominance
  33.               components is 176x120. This is the default size.
  34.  
  35.        --CCIIFF   indicates  that the source frame size for the Lumi-
  36.               nance component is 352x288 and for the  Chrominance
  37.               components is 176x144.
  38.  
  39.        --QQCCIIFF  indicates  that the source frame size for the Lumi-
  40.               nance component is 176x144 and for the  Chrominance
  41.               components is 88x72.
  42.  
  43.        --PPFF    indicates  that the component sizes specified by --hh
  44.               and --vv are not multiples of 16 and furthermore that
  45.               the input files (or output files) should be exactly
  46.               that specified by the component size --hh and --vv  (or
  47.               as read from the compressed stream).  Otherwise the
  48.               input and output files will be the  component  size
  49.               rounded up to a multiple of 16 in each dimension.
  50.  
  51.        --NNPPSS   The NPS option allows the encoder to encode without
  52.               having the restriction that the last macroblock  in
  53.               a  slice  cannot  be skipped.  For coding purposes,
  54.               the first macroblock in  a  slice  must  be  coded,
  55.               although the decoder will probably handle that case
  56.               as well.
  57.  
  58.        --MMBBPPSS  This specifies the macroblocks per slice.  If  left
  59.               unspecified  then  the  number  of  macroblocks per
  60.               slice is the number of macroblocks on  one  row  of
  61.  
  62.  
  63.  
  64.                            14 June 1993                         1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. MPEG(1)                                                   MPEG(1)
  71.  
  72.  
  73.               the image.
  74.  
  75.        --UUTTCC   Forces  the  frame number of the image to match the
  76.               Group-of-Pictures time code.  Only useful  for  the
  77.               decoder.
  78.  
  79.        --XXIINNGG  enables  XING  compatible  encoding for intra-frame
  80.               only files for  the  XING  decoders.   May  not  be
  81.               robust,  but  eventually XING encoders and decoders
  82.               will become more MPEG  compatible.  This  specifies
  83.               160x120  encoding (apparently the defacto) for XING
  84.               decoders.  If  you  wish  to  overide  the  160x120
  85.               encoding  for  XING image format, use the --hh and --vv
  86.               options after the --XXIINNGG option.  By default --PPFF  is
  87.               always selected with -XING option.
  88.  
  89.        --DDMMVVBB  denotes  Dynamic  Motion  Vector  Bounding.  Should
  90.               reduce the overall bits spent in the motion vectors
  91.               if  set.   Generally  doesn't  do that much for the
  92.               default settings, but  changing  the  search  limit
  93.               will automatically enable the dynamic motion vector
  94.               bounding feature.
  95.  
  96.        --MMVVNNTT  disables the motion vector telescoping.   Generally
  97.               telescoping is a big gain when the search window is
  98.               small, though if the  search  window  grows  large,
  99.               telescoping may not be beneficial.
  100.  
  101.        --aa     denotes  the following value to be the start of the
  102.               filename index [inclusive]. Defaults to 0.
  103.  
  104.        --bb     denotes the following value to be the  end  of  the
  105.               filename index [inclusive]. Defaults to 0.
  106.  
  107.        --dd     enables  the  decoder.  The only options useful for
  108.               the decoder are the filename specifications and the
  109.               --NNPPSS,,  --UUTTCC commmands; the rest of the command-line
  110.               information is used for encoding.
  111.  
  112.        --hh     is the horizontal size of the picture in  terms  of
  113.               the  luminance  component,  used  for  a non --NNTTSSCC,,
  114.               --CCIIFF,, --QQCCIIFF filesize.  See the preceding note about
  115.               --PPFF  about  the  dimensions of the file relative to
  116.               that of the component.
  117.  
  118.        --vv     is the vertical size of the picture in terms of the
  119.               luminance  component,  used  for a non --NNTTSSCC,, --CCIIFF,,
  120.               --QQCCIIFF filesize.  See the preceding note  about  --PPFF
  121.               about  the  dimensions of the file relative to that
  122.               of the component.
  123.  
  124.        --ff     is the number of interpolated frames  between  each
  125.               intra/predicted frame.  FFrraammeeIInntteerrvvaall--11 is the num-
  126.               ber  of  interpolated  frames  within  each   frame
  127.  
  128.  
  129.  
  130.                            14 June 1993                         2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. MPEG(1)                                                   MPEG(1)
  137.  
  138.  
  139.               interval.
  140.  
  141.        --gg     is  the  number  of  frame  intervals per group-of-
  142.               pictures.  With a group interval of  1  then  there
  143.               are no predicted frames.  The value GGrroouuppIInntteerrvvaall--11
  144.               is the number of predicted frames in each group  of
  145.               pictures.
  146.  
  147.        --44     is  used  to  DC  Intraframe mode where only the DC
  148.               components of each picture block is coded.
  149.  
  150.        --ii     is the diameter of the  motion  estimation  search.
  151.               The  diameter  must  be  be  positive.  The default
  152.               value is 15 for a search window of approx (+-  7.5,
  153.               +-  7.5).   The motion estimation is telescopic for
  154.               frame distances  greater  than  1  (thus  having  a
  155.               greater  effective  range).   The telescopic motion
  156.               estimation can be turned off  by  the  --MMVVNNTT  flag.
  157.               This  option  can  now have a value greater than 15
  158.               but less than approximately 960.  For large  values
  159.               the estimation becomes very slow.
  160.  
  161.        --oo     signals  that the program interpreter will read the
  162.               control algorithms from the standard input.
  163.  
  164.        --pp     specifies the  picture  rate  by  a  code  directly
  165.               placed  into  the  stream.   It  must  be  a number
  166.               between 0 and 8. (default 5=30Hz).
  167.  
  168.        --qq     gives a value for the quantization not in the pres-
  169.               ence  of  rate  control (rate control automatically
  170.               changes the quantization values).  If rate  control
  171.               is  specified, this parameter gives a value for the
  172.               initial quantization of the first frame (which  the
  173.               program usually takes an educated guess at).
  174.  
  175.        --rr     specified  a  rate for the coded stream. If this is
  176.               enabled, a buffer model is used to limit  the  size
  177.               of  the  coding  stream. Note this is given in bits
  178.               per second.
  179.  
  180.        --ss     specifies the filename to store the coded image. If
  181.               unspecified   it   defaults   to  CCoommppoonneennttFFiilleePPrree--
  182.               ffiixx00..mmppgg..
  183.  
  184.        --vv     designates that quantization decisions  are  to  be
  185.               written  to  standard  output.  This is the verbose
  186.               mode.
  187.  
  188.        --xx     gives a target filesize for the compressed  stream.
  189.               This  overrides  the  rate option --rr,, if specified.
  190.               This is specified in bits.  The actual  implementa-
  191.               tion  of  this technique is through calculating the
  192.               equivalent bit-rate. Since the buffer  usually  has
  193.  
  194.  
  195.  
  196.                            14 June 1993                         3
  197.  
  198.  
  199.  
  200.  
  201.  
  202. MPEG(1)                                                   MPEG(1)
  203.  
  204.  
  205.               some contents at the end of coding, the final file-
  206.               size is larger than actually designated.
  207.  
  208.        --yy     enables the double-precision floating point  Refer-
  209.               ence DCT. The default is the Chen DCT.
  210.  
  211.        --zz     denotes  the  component file suffixes in sequential
  212.               order. For example
  213.                --zz ..yy..ccllrr --zz ..uu..ccllrr --zz ..vv..ccllrr indicates  that  the
  214.               luminance  and the two chrominance files end with a
  215.               suffix of  ..yy..ccllrr,,  ..uu..ccllrr,,  and  ..vv..ccllrr,,  in  that
  216.               order.  If unspecified, the suffixes default to ..YY,,
  217.               UU,, and ..VV..
  218.  
  219.        CCoommppoonneennttFFiilleePPrreeffiixx_n
  220.               must be specified. In general, the other  component
  221.               files  share  the  same  prefix and will default to
  222.               CCoommppoonneennttFFiilleePPrreeffiixx11 if not  explicitly  specified.
  223.               However,  in  some cases the prefix is what changes
  224.               in the file and we can specify this individually.
  225.  
  226.  
  227. EEXXAAMMPPLLEESS
  228.        To encode a set of raw raster scan YCbCr  (also  known  as
  229.        digital  YUV) files with dimension 352x240 Y, 176x120 U,V,
  230.        with labels, hheelllloo00..YY hheelllloo00..UU hheelllloo00..VV,, hheelllloo11..YY hheelllloo11..UU
  231.        hheelllloo11..VV,,  ......,,  hheelllloo1122..YY hheelllloo1122..UU hheelllloo1122..VV through the
  232.        mpeg encoder, type
  233.  
  234.        mmppeegg --aa 00 --bb 1122 hheelllloo --ss hheelllloo..mmppgg
  235.  
  236.        This creates the  output  file  hheelllloo..mmppgg..   In  order  to
  237.        decode  such  a  file  into a sequence of image files with
  238.        prefix ggooooddbbyyee,, type
  239.  
  240.        mmppeegg --dd --ss hheelllloo..mmppgg ggooooddbbyyee
  241.  
  242.        The output will be placed in the  files  ggooooddbbyyee00..YY  ggoooodd--
  243.        bbyyee00..UU  ggooooddbbyyee00..VV,, ggooooddbbyyee11..YY ggooooddbbyyee11..UU ggooooddbbyyee11..VV,, ......,,
  244.        ggooooddbbyyee1122..YY   ggooooddbbyyee1122..UU   ggooooddbbyyee1122..VV..    These    image
  245.        sequences  can  be displayed by the _c_v program.  The image
  246.        sequences can also be converted to ppm  and  back  through
  247.        the  programs _c_y_u_v_2_p_p_m and _p_p_m_2_c_y_u_v Those utility programs
  248.        available     by     anonymous     ftp     from      _h_a_v_e_-
  249.        _f_u_n_._s_t_a_n_f_o_r_d_._e_d_u_:_p_u_b_/_c_v_/_C_V_v_1_._2_._1_._t_a_r_._Z_.   There  are  more
  250.        options within an internal  program  interpreter.   Please
  251.        see  the  accompanying  documentation  in  _d_o_c_._p_s for more
  252.        details.
  253.  
  254.  
  255. FFTTPP
  256.        _m_p_e_g  is   available   by   anonymous   ftp   from   _h_a_v_e_-
  257.        _f_u_n_._s_t_a_n_f_o_r_d_._e_d_u_:_p_u_b_/_m_p_e_g_/_M_P_E_G_v_1_._2_._t_a_r_._Z_.
  258.  
  259.  
  260.  
  261.  
  262.                            14 June 1993                         4
  263.  
  264.  
  265.  
  266.  
  267.  
  268. MPEG(1)                                                   MPEG(1)
  269.  
  270.  
  271. BBUUGGSS
  272.        Somewhat  slower  than  many  commercial  implementations.
  273.        Please inform the author at achung@cs.stanford.edu if  any
  274.        bugs are found.
  275.  
  276.  
  277. AAUUTTHHOORR
  278.        Andy Hung
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.                            14 June 1993                         5
  329.  
  330.  
  331.